/* 全局样式 */
/* 因为很多标签默认设置内外边距 */
*{margin: 0px; padding: 0px;}
/* 默认是以基线对齐，会有不平 */
img{vertical-align: bottom;}
/* 默认a有下划 */
a{text-decoration: none;}
/* 列表标 li 默认样式不占像素空间，会影响其它元素*/
li{list-style: none;}

/* 移动端全局样式 */
/* 去除移动端IOS上面关于超链接会多出来一个蓝色背景 */
a{
	-webkit-tap-highlight-color:transparent;
	/* 阻止长按超链接弹出菜单 */
	-webkit-touch-callout: none;
}
/* 去掉IOS默认设置的样式 */
input{
	-webkit-appearance: none;
}

body{
	background-color: #f6f6f6;
}

/* 头部 */
header{
	width: 100%;
	/* position: relative; */
}
.header{
	width: 100%;
	height: 44px;
	background-color: #ff5454;
	display: flex;
	justify-content: space-between;
	position: fixed;
	left: 0px;
	top: 0px;
	z-index: 99;
}
/* 头部导航图标 */
.header>div{
	width: 10%;
	height: 44px;
}
.header>div:first-of-type img{
	margin-left: 10px;
	margin-top: 12px;
}
/* 头部搜索框 */

.header>div:nth-of-type(2){
	width: 70%;
	height: 36px;
	margin-top: 4px;
	border: none;
	border-radius: 20px;
	background-color: white;
	display: flex;
	position: relative;
}
.header>div:nth-of-type(2) img{
	width: 16px;
	height: 16px;
	position: absolute;
	left: 10px;
	top: 10px;
}
.header>div:nth-of-type(2) input{
	width: 100%;
	padding-left: 40px;
	border: none;
	border-radius: 20px;
	line-height: 16px;
}

/* 头部登录按钮 */
.header>div:last-of-type{
	width: 10%;
	height: 44px;
	
}
.header>div:last-of-type span{
	font-size: 14px;
	color: #ffffff;
	line-height: 44px;
	text-align: center;
}




/* 导航栏 */
.nav{
	width: 100%;
	height: 100px;
	padding-top: 44px;
	margin: 0 auto;
	/* margin: 44px auto 0px; */
	background:  linear-gradient(to bottom, #ff5454, #f6f6f6 80%, #f6f6f6);
	position: relative;
}
.nav-list{
	width: 94%;
	height: 80px;
	margin: 0 auto;
	position: relative;
	top: 10px;
	left: 0;
	border-radius: 10px;
	background-color: #ffffff;
	overflow: hidden;
}
.nav ul{
	width: 1000px;
	height: 80px;
	position: absolute;
	
}
/* 导航信息容器 */
.nav ul li{
	float: left;
}
/* 导航信息内容 */
.nav-msg{
	width: 50px;
	height: 50px;
	margin: 10px;
	
}
.nav-msg img{
	width: 40px;
	height: 40px;
	margin-left: 5px;
}
.nav-msg p{
	height: 20px;
	line-height: 20px;
	font-size: 11px;
	color: #595959;
}






/* 京东秒杀 */
.jd-seckill{
	width: 94%;
	height: 100px;
	margin: 0 auto;
	margin-bottom: 10px;
	background: url(../img/JD_seckill_bg.png) no-repeat;
	background-size: 100% 100%;
	/* background-color: #ff4325; */
	/* border-radius: 10px; */
	display: flex;
}
.jd-seckill-msg{
	width: 25%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}
.jd-seckill-msg>div:first-of-type{
	width: 65px;
	height: 13px;
	background: url(../img/JD_seckill_msg.png) no-repeat;
	background-size: 100% 100%;
	margin: 0 auto;
}
.jd-seckill-msg>p{
	font-size: 12px;
	color: #ffffff;
	margin-left: 14px;
}
.jd-seckill-msg>div:last-of-type{
	width: 56px;
	height: 16px;
	margin-left: 14px;
	background-color: #f6f6f6;
	border-radius: 5px;
	display: flex;
	justify-content: space-evenly;
}
.jd-seckill-msg>div:last-of-type>p{
	font-size: 10px;
	color: #fa2c19;
	margin-left: 5px;
}
.jd-seckill-msg>div:last-of-type>span{
	width: 10px;
	height: 10px;
	background: url(../img/JD_seckill_msg_after.png) no-repeat;
	background-size: 100% 100%;
	/* margin-right: 4px; */
	margin-top: 2px;
}
/* 京东秒杀商品 */
.jd-seckill-goods{
	width: 74%;
	height: 96px;
	margin-top: 2px;
	background-color: #ffffff;
	border-radius: 10px;
	overflow-x:scroll;
}
.jd-seckill-goods>ul{
	width: 700px;
	height: 80px;
	overflow: hidden;
	margin-top: 10px;
	margin-left: 10px;
}
/* 设置滚动条 */
.jd-seckill-goods ul::-webkit-scrollbar{
	width: 0px;
}
.seckill-goods-msg{
	width: 70px;
	height: 80px;
	float: left;
}
.seckill-goods-msg>img{
	width: 56px;
	height: 56px;
	align-items: center;
}
.seckill-goods-msg>span{
	font-size: 14px;
	color: #fa2c19;
	text-align: center;
}


/* 商品 */
.goods-content{
	width: 94%;
	/* height: 1000px; */
	margin: 0 auto;
	margin-bottom: 44px;
	background-color: #f6f6f6;
	border-radius: 10px;
}
.goods-content>ul{
	width: 100%;
	padding-top: 10px;
	display: flex;
	flex-wrap: wrap;
	background-color: #f6f6f6;
}
.goods-content>ul>li{
	margin-left: 5px;
	margin-bottom: 10px;
	width: 170px;
	height: 280px;
	/* padding: 5px; */
	background-color: #ffffff;
	border-radius: 10px;
	box-sizing: border-box;
}
.goods-img{
	margin: 10px 5px 10px ;
}
.goods-img img{
	width: 160px;
	height: 160px'
}
.goods-msg{
	width: 165px;
	height: 12px;
	display: flex;
	flex-direction: column;
	margin-top: 10px;
	margin-left: 5px;
}
.goods-msg>p{
	font-size: 13px;
	color: #434343;
}
.goods-msg>div:first-of-type{
	font-size: 14px;
	color: #ff4142;
}
.goods-msg>div:first-of-type span{
	font-size: 20px;
}
.goods-msg-down{
	width: 100%;
	height: 20px;
	display: flex;
	justify-content: space-between;
}
.goods-msg-down>div{
	display: flex;
}
.goods-msg-down>div>img{
	width: 24px;
	height: 14px;
	margin-top: 3px;
	margin-right: 10px;
}
.goods-msg-down>div>span{
	font-size: 12px;
	color: #999;
	line-height: 20px;
}
.goods-msg-down>div:last-of-type{
	padding: 0 10px;
	font-size: 11px;
	line-height: 20px;
	border: none;
	border-radius: 10px;
	background-color: #f2f2f2;
	text-align: center;
}


/* 底部 */
.footer{
	width: 100%;
	height: 44px;
	background-color: white;
	position: fixed;
	left: 0px;
	top: 623px;
	display: flex;
	justify-content: space-between;
	border-top: 1px solid #666;
}

